<?php
include("libs/smarty.class.php");
include("functions.php");

$smarty = new Smarty();

if(isset ($_GET['id'])){
    $id = $_GET['id'];
    if($id!= '' && is_numeric($id)){
        $student = array();
        $student = getRow("*", $id, "user_student");
        $smarty->assign("student",$student);
    }
}
$smarty->display('student_details.tpl');
?>
